package datasource.config;

import com.mchange.v2.c3p0.ComboPooledDataSource;

import java.sql.Connection;
import java.sql.SQLException;

public class C3P0Config {
    public static ComboPooledDataSource cpds=null;
    static{
        cpds=new ComboPooledDataSource();
    }
    public static Connection getConnection() throws SQLException {
        return cpds.getConnection();
    }
}
